<?php

$yaml = new Yaml('data/discover.yml');
$discover=$yaml->get();
$discover = $discover->discover;
$event = $discover->event->{'0'};

$body = '<p>' . $discover->excerpt . '</p>';
content::start();
snippet('enews/button-sign-up.php', array('action_url'=>form('discover')));
$body .= content::end(TRUE);

snippet('enews/layout-default.php', array(
  'title' => $discover->name,
  'drophead' => NRHCdate($event->begins),
  'byline' => $event->time,
  'body' => $body,
  'image_url' => $discover->image->chip,
  'image_alt' => $discover->name,
  'image_link' => url('next-steps/discover')
));

?>
